package com.key.common.dto;

import com.key.entity.Employee;
import com.key.entity.SysMenu;
import com.key.entity.SysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/*
 *
 * @author liu
 *
 */
@ApiModel(value = "返回用户具有的权限")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysUserMenuDTO {
    @ApiModelProperty(name = "sysUser",notes = "用户实体",required = true)
    private SysUser sysUser;
    @ApiModelProperty(name = "employee",notes = "员工实体",required = true)
    private Employee employee;
    @ApiModelProperty(name = "sysMenus",notes = "权限集合",required = true)
    private List<SysMenu> sysMenus;
}
